module.exports = {
    getHMS (n) {
        let hourse = this.add(Math.floor(n / 3600))
        let minute = this.add(Math.floor(n % 3600 / 60))
        let second = this.add(n % 60)
        return `${hourse}:${minute}:${second}`
    },
    add (n) {
        return n < 10 ? "0" + n : n
    }

}

